

<?php include './application/views/top.php'; ?>
<script src="/static/js/gsdai.js"></script>
<script src="/static/js/ajaxfileupload.js"></script>
<script src="/static/js/My97DatePicker/WdatePicker.js"></script>
<script src="/static/js/formCheck.js"></script>

<div class="clear"></div>
<div class="user_bottom all"></div>
<div class="clear h50"></div>
<div class="layout uc">
	<?php include './application/views/user/left.php'; ?>
	<?php
		$sex = $v['sex'];
		$cardType = $v['cardType'];
	?>
	<div class="right">
		<div class="menu_list"><?php include './application/views/user/menu.php'; ?></div>
        <div class="clear h30"></div>
        <div class="tishi">如果设置的多个自动投标都启用，将以编号最大的为准。</div>        
        <div class="cont">
        	<ul class="tbt">
            	<li class="w100">状态</li>
                <li class="w100">类型</li>
                <li class="w200">金额/比例</li>
                <li class="w200">还款方式</li>
                <li class="w100">期限</li>
                <li class="w100">利率</li>
                <li class="w118 npr">操作</li>
			</ul>
            <?php $i=0; foreach($borrow_auto_list as $auto_list){?>
        	<ul class="tbc">
            	<li class="w100"><?php echo $auto_list['fstatus']==1?"启用":"停用";?></li>
            	<li class="w100"><?php echo $auto_list['tender_type']?"按金额":"按比例";?></li>
                <li class="w200"><?php if($auto_list['tender_type'] == 1){echo $auto_list['tender_account'].'-'.$auto_list['tender_account1'];}else{echo $auto_list['tender_scale'].'%';}?></li>
                <li class="w200"><?php if($auto_list['borrow_style_status'] == 1){echo $auto_list['borrow_style']==0?"等额本息":"到期还本，按月付息";}else{echo "不限制";};?></li>
                <li class="w100"><?php  if($auto_list['timelimit_status'] == 1){echo $auto_list['timelimit_month_first'].'-'.$auto_list['timelimit_month_last'].'个月';}else{echo "不限制";}?></li>
                <li class="w100"><?php if($auto_list['apr_status'] == 1){echo $auto_list['apr_first'].'-'.$auto_list['apr_last'].'%';}else{echo "不限制";}?></li>
                <li class="w118 npr">
                <a href="/borrowauto/edit_view/<?php echo $auto_list['id'];?>.html">修改</a>
				<a href="/borrowauto/remove/<?php echo $auto_list['id'];?>.html">删除</a>
                </li>
			</ul>
        	<?php $i++; }?>
        </div>
	</div>
</div>
<div class="clear h50"></div>
<?php include "./application/views/footer.php";?>